package org.jeecg.modules.business.delivery.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 调拨任务
 * @Author: jeecg-boot
 * @Date:   2023-11-22
 * @Version: V1.0
 */
@ApiModel(value="wms_delivery_task对象", description="调拨任务")
@Data
@TableName("wms_delivery_task")
public class WmsDeliveryTask implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**逻辑删除*/
	@Excel(name = "逻辑删除", width = 15)
    @ApiModelProperty(value = "逻辑删除")
    @TableLogic
    private Integer delFlag;
	/**租户id*/
	@Excel(name = "租户id", width = 15)
    @ApiModelProperty(value = "租户id")
    private Integer tenantId;
	/**部门*/
    @ApiModelProperty(value = "部门")
    private String sysOrgCode;
	/**组织*/
	@Excel(name = "组织", width = 15)
    @ApiModelProperty(value = "组织")
    private String organization;
	/**单据类型*/
    @Dict(dicCode = "delivery_task")
	@Excel(name = "单据类型", width = 15)
    @ApiModelProperty(value = "单据类型")
    private String documentType;
	/**单据编号*/
	@Excel(name = "单据编号", width = 15)
    @ApiModelProperty(value = "单据编号")
    private String documentCode;
	/**单据状态*/
    @Dict(dicCode = "document_status")
	@Excel(name = "单据状态", width = 15)
    @ApiModelProperty(value = "单据状态")
    private String documentStatus;
	/**调拨类型*/
	@Excel(name = "调拨类型", width = 15)
    @ApiModelProperty(value = "调拨类型")
    private String deliveryType;
	/**货主类型*/
	@Excel(name = "货主类型", width = 15)
    @ApiModelProperty(value = "货主类型")
    private String ownerType;
	/**货主*/
	@Excel(name = "货主", width = 15)
    @ApiModelProperty(value = "货主")
    private String owner;
	/**客商*/
	@Excel(name = "客商", width = 15)
    @ApiModelProperty(value = "客商")
    private String customer;
	/**调出仓库id*/
	@Excel(name = "调出仓库id", width = 15)
    @ApiModelProperty(value = "调出仓库id")
    private String outWarehouseId;
	/**调出仓库名称*/
	@Excel(name = "调出仓库名称", width = 15)
    @ApiModelProperty(value = "调出仓库名称")
    private String outWarehouseName;
	/**调出货主*/
	@Excel(name = "调出货主", width = 15)
    @ApiModelProperty(value = "调出货主")
    private String outOwner;
	/**调拨日期*/
	@Excel(name = "调拨日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "调拨日期")
    private Date deliveryDate;
	/**调入仓库id*/
	@Excel(name = "调入仓库id", width = 15)
    @ApiModelProperty(value = "调入仓库id")
    private String inWarehouseId;
	/**调入货主*/
	@Excel(name = "调入货主", width = 15)
    @ApiModelProperty(value = "调入货主")
    private String inOwner;
	/**仓库组id*/
	@Excel(name = "仓库组id", width = 15)
    @ApiModelProperty(value = "仓库组id")
    private String wmsBasicWarehouseGroupId;
	/**调出部门*/
	@Excel(name = "调出部门", width = 15)
    @ApiModelProperty(value = "调出部门")
    private String outDepartmentId;
	/**在途归属*/
	@Excel(name = "在途归属", width = 15)
    @ApiModelProperty(value = "在途归属")
    private String inTransitOwnership;
	/**仓管员*/
	@Excel(name = "仓管员", width = 15)
    @ApiModelProperty(value = "仓管员")
    private String warehouseKeeper;
	/**调入部门*/
	@Excel(name = "调入部门", width = 15)
    @ApiModelProperty(value = "调入部门")
    private String inDepartmentId;
	/**调拨出库任务*/
	@Excel(name = "调拨出库任务", width = 15)
    @ApiModelProperty(value = "调拨出库任务")
    private String outTaskCode;
	/**调拨入库任务*/
	@Excel(name = "调拨入库任务", width = 15)
    @ApiModelProperty(value = "调拨入库任务")
    private String inTaskCode;

    /**调拨状态*/
    @Excel(name = "调拨状态", width = 15)
    @ApiModelProperty(value = "调拨状态")
    private String deliveryStatus;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;

    /**来源系统*/
    @Excel(name = "来源系统", width = 15)
    @ApiModelProperty(value = "来源系统")
    private String originalSystem;

    /**来源单号*/
    @Excel(name = "来源单号", width = 15)
    @ApiModelProperty(value = "来源单号")
    private String originalSystemNumber;

    /**请求人员*/
    @Excel(name = "请求人员", width = 15)
    @ApiModelProperty(value = "请求人员")
    private String requestPerson;

    /**请求时间*/
    @Excel(name = "请求时间", width = 15)
    @ApiModelProperty(value = "请求时间")
    private String requestTime;

    /**任务编号*/
    @Excel(name = "任务编号", width = 15)
    @ApiModelProperty(value = "任务编号")
    private String taskCode;

    /**任务类型*/
    @Excel(name = "任务类型", width = 15)
    @ApiModelProperty(value = "任务类型")
    private String taskType;

    /**操作人员*/
    @Excel(name = "操作人员", width = 15)
    @ApiModelProperty(value = "操作人员")
    private String operatorName;

    /**操作时间*/
    @Excel(name = "操作时间", width = 15)
    @ApiModelProperty(value = "操作时间")
    private Date operatorTime;

    @ApiModelProperty(value = "过账状态")
    @Dict(dicCode = "transfer_status")
    private String transferSapStatus;






}
